<md-content layout-padding layout-fill>
   <md-content>
      <span class="user-position">您当前的位置：药品详情</span>
      <div style="height: 2em"></div>
         <div layout="row" layout-xs="column" class="body-info">
            <img src="{{drug.img}}" class="drug-img">
            <div style="margin-left: 5%">
               <h2 class="drug-name">&nbsp;&nbsp;{{drug.drugName}}</h2>
               <div layout="column" layout-align="start start" class="drug-content">
                  <span class="drug-info-key">规格：<span class="drug-info-value"></span></span>
                  <span class="drug-info-key">生产商家：<span class="drug-info-value"></span></span>
                  <span class="drug-info-key">批准文号：<span class="drug-info-value"></span></span>
                  <span class="drug-info-key">功能主治：<span class="drug-info-value">{{drug.treat}}</span></span>
                  <span class="drug-info-key">价格：<span class="large-red-price">￥{{drug.price}}</span></span>
                  <br>
                  <span class="drug-info-key">购买数量：
                        <input type="number" ng-model="commodity.drugCount" required style="width: 100px;">
                  </span>
                  <div layout="row" layout-xs="column" layout-align="start center" style="padding-top: 2em">
                     <md-button class="md-raised md-warn" >立即购买</md-button>
                     <md-button class="md-raised md-primary" ng-click="addToCart(commodity)">
                        <img src="./src/images/购物车.png"> 加入购物车</md-button>
                  </div>
               </div>
            </div>
         </div>
   </md-content>
</md-content>

<!--<div class="mini-login" id="mini-login" layout="column" layout-align="start center">
   <div layout="row" class="login-title" >
      <span flex>您还没有登录，请先登录</span>
      <span class="login-close" id="close_minilogin" ng-click="close()">X</span>
   </div>

   <div class="login-content" layout="column" layout-align="start center">
      <md-input-container class="md-block">
         <label>用户名</label>
         <input ng-model="user.username" type="text" required>
      </md-input-container>
      <md-input-container class="md-block">
         <label>密码</label>
         <input ng-model="user.password" type="password" required>
      </md-input-container>
      <div layout="row">
         <md-button ng-click="login(user)" type="submit">登录</md-button>
         <md-button ng-click="register()" type="submit">没有账号？去注册</md-button>
      </div>
   </div>
</div>
&lt;!&ndash;遮罩层&ndash;&gt;
<div class="cover" id="cover"></div>-->

